import axios from "axios";
export const getRequest = (url,params) => {
    return axios({
        method: 'get',
        url: url,
        data: params
    })
}
export const postRequest = (url,params) => {
    return axios({
        method: 'post',
        url: url,
        data: params
    })
}

export const putRequest = (url,params) => {
    return axios({
        method: 'put',
        url: url,
        data: params
    })
}
export const deleteRequest = (url,params) => {
    return axios({
        method: 'delete',
        url: url,
        data: params
    })
}

